package com.ruoyi.washer.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公司信息对象 xw_company
 * 
 * @author hawking
 * @date 2024-01-04
 */
public class XwCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公司ID */
    private Long companyId;

    /** 信息类型 */
    @Excel(name = "信息类型")
    private String msgType;

    /** 信息描述 */
    @Excel(name = "信息描述")
    private String msgDesc;

    /** 创建时间 */
    private Date createdTime;

    /** 更新时间 */
    private Date updatedTime;

    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setMsgType(String msgType) 
    {
        this.msgType = msgType;
    }

    public String getMsgType() 
    {
        return msgType;
    }
    public void setMsgDesc(String msgDesc) 
    {
        this.msgDesc = msgDesc;
    }

    public String getMsgDesc() 
    {
        return msgDesc;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("companyId", getCompanyId())
            .append("msgType", getMsgType())
            .append("msgDesc", getMsgDesc())
            .append("createdTime", getCreatedTime())
            .append("createBy", getCreateBy())
            .append("updatedTime", getUpdatedTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
